package com.kgcx.coupon.mapper;


import com.kgcx.common.bean.RequestData;
import com.kgcx.coupon.domain.Punish;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author zhulong
 */
@Repository
public interface PunishMapper {


    /**
     * 新增投诉
     * @param punish
     * @return
     */
      Integer insert(Punish punish);

    /**
     * 分页查询处罚信息
      * @param rd
     * @return
     */
      List<Punish> selectPunishList(RequestData rd);

}
